package Day02_java流程控制.Java10_逻辑结构.选择结构;
import java.util.Scanner;
public class if双选择结构 {
    public static void main(String[] args) {
        //考试番薯大于60分就及格，小于60就不及格
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入成绩：");
        int score = scanner.nextInt();
        if (score > 60){
            System.out.println("及格");
        }else{
            System.out.println("不及格");
        }
    }
}
